
.alert {
    -fx-padding: 25px;
    -fx-border-color: #ccc;
    -fx-border-width: 1px;
    -fx-border-style: solid;
    -fx-transition: all 0.3s ease;
    /*-fx-border-radius: 10px;*/
    -fx-background-color: #f2f2f2;
    -fx-effect: dropshadow(gaussian, rgba(0,0,0,0.1), 10, 0, 0, 3);
}

/* 鼠标悬停时边框变色效果 */
.alert:hover {
    -fx-border-color: #aaa;
}

.dialog-pane {
    -fx-background-color: #f2f2f2;
    /*-fx-background-radius: 10px;*/
}

.alert .dialog-pane .content-label {
    -fx-text-fill: #333;
    -fx-font-size: 14px;
}

.alert .button-bar {
    -fx-alignment: center;
    /* 增加顶部内边距，将按钮往下推 */
    -fx-padding: 20px 0 0 0;
}

.alert .button-bar .button {
    -fx-background-color: #007bff;
    -fx-text-fill: #fff;
    -fx-font-size: 14px;
}

.alert .button-bar .button:hover {
    -fx-background-color: #0056b3;
    -fx-effect: dropshadow(gaussian, rgba(0,0,0,0.2), 5, 0, 0, 1);
}

/*
.alert {
    -fx-padding: 15px;
    -fx-border-width: 1px;
    -fx-border-style: solid;
    -fx-background-color: #FFF;
    -fx-border-color: #C8DAFF;
    -fx-border-radius: 6px;
    -fx-background-radius: 6px; }

.alert-success {
    -fx-background-color: linear-gradient(to bottom, #dff0d8 0px, #c8e5bc 100%);
    -fx-border-color: #d6e9c6;
    -fx-text-fill: #3c763d;
    -fx-fill: #3c763d; }
.alert-success * {
    -fx-background-color: transparent;
    -fx-text-fill: #3c763d;
    -fx-fill: #3c763d; }

.alert-info {
    -fx-background-color: linear-gradient(to bottom, #d9edf7 0px, #b9def0 100%);
    -fx-border-color: #bce8f1;
    -fx-text-fill: #31708f;
    -fx-fill: #31708f; }
.alert-info * {
    -fx-background-color: transparent;
    -fx-text-fill: #31708f;
    -fx-fill: #31708f; }

.alert-warning {
    -fx-background-color: linear-gradient(to bottom, #fcf8e3 0px, #f8efc0 100%);
    -fx-border-color: #faebcc;
    -fx-text-fill: #8a6d3b;
    -fx-fill: #8a6d3b; }
.alert-warning * {
    -fx-background-color: transparent;
    -fx-text-fill: #8a6d3b;
    -fx-fill: #8a6d3b; }

.alert-danger {
    -fx-background-color: linear-gradient(to bottom, #f2dede 0px, #e7c3c3 100%);
    -fx-border-color: #ebccd1;
    -fx-text-fill: #a94442;
    -fx-fill: #a94442; }
.alert-danger * {
    -fx-background-color: transparent;
    -fx-text-fill: #a94442;
    -fx-fill: #a94442; }*/
